home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 4
/
Apprentice-Release4.iso
/
Source Code
/
Libraries
/
Graphic Elements 3
/
Readme - Version 3.0
< prev
Wrap
Text File
|
1995-08-28
|
5KB
|
40 lines
CHANGES AND NEW FEATURES IN GRAPHIC ELEMENTS RELEASE 3
NOTE: This release includes libraries for CodeWarrior5 68K and PPC, version 1.2.1,
and for the THINK Project Manager version 7.0.4. Project files are included
for all the demos under Codewarrior 68K, for the GEQTHack application under
Codewarrior PPC, and for the GEDemo application under THINK C.
The Metrowerks libraries and projects were also tested with CodeWarrior6. The
only modification required was to add Mathlib68k(4i).lib to the 68K application
projects.
The THINK C GEDemo.π project was built using Apple's Universal Headers v. 2.0.1,
as shipped on The Developer's Advantage Release 3 from Symantec. As far as I know,
the only change required to build it under earlier versions of the Apple header
files is to change the type of the handle sent to SndPlay() in GESound.c to (Handle).
1. This release adds support for multiple GEWorlds which run concurrently. Call
Boolean AddToWorldList(GEWorldPtr world, Boolean shareTimer);
To add a GEWorld to the list of concurrent worlds. In the present release,
shareTimer should always be true. (See GEWorldManager.h)
Everything else is automatic. When any world on the list is updated by a call to
DoWorldUpdate(), all the other concurrent worlds will be updated automatically. Similarly,
when MouseDownInSensor() is called for any world on the list, all other concurrent worlds
will be checked automatically. For cases where this is NOT the desired behavior,
Update1GEWorld() will update only the GEWorld for which it is called. Similarly,
MouseDownIn1World() will check the sensors in a single GEWorld. (See DispCtrl.h)
The following calls have been added to the Application Program Interface for cases
where the controlling application needs to draw "over" a GEWorld.
These calls protect an area of a GEWorld from being drawn into by the Graphic Elements
system:
void CoverRect(GEWorldPtr world, Rect *coveredRect);
void CoverRegion(GEWorldPtr world, RgnHandle coveredRgn);